import Vue from 'vue'
import Msg from "./msg.vue"
Msg.show = (data) => {
    const message = Vue.extend(Msg)
    const component = new message({
        data
    }).$mount();
    // document.querySelector('body').appendChild(component.$el)
	document.body.appendChild(component.$el)
}
export default Msg